package com.ruoyi.common.core.utils.calendar;

import java.util.Calendar;

public class CalendarUtils {

    public static String getCurYear() {
        Calendar calendar = Calendar.getInstance();
        return calendar.get(Calendar.YEAR) + "";
    }

    public static void main(String[] args) {
        String curYear = CalendarUtils.getCurYear();
        System.out.println(curYear);
    }
}
